package com.gomcarter.frameworks.base.json;

import lombok.Data;

@Data
public class SimpleJsonObject {
    protected Integer c;
    protected String m;
    protected Object d;
    protected Long t;

    public SimpleJsonObject(JsonObject o) {
        this.c = o.getCode();
        this.m = o.getMessage();
        this.d = o.getData();
        this.t = o.getTimestamp();
    }
}
